import java.util.Scanner;

/**
 * @author gao
 * @date 2025/8/26 14:56
 */

class CPoint {
    protected double x;
    protected double y;

    public CPoint(double x, double y) {
        this.x = x;
        this.y = y;
    }

    public CPoint(CPoint point) {
        this.x = point.x;
        this.y = point.y;
    }

    public void print() {
        System.out.println("x=" + x + ",y=" + y);
    }
}

class Ccircle extends CPoint {
    protected double radius;

    public Ccircle(double x, double y, double radius) {
        super(x, y);
        this.radius = radius;
    }

    public Ccircle(Ccircle circle) {
        super(circle);
        this.radius = circle.radius;
    }

    public double getRadius() {
        return radius;
    }

    public double getArea() {
        return radius * radius * Math.PI;
    }

    public double getVolume() {
        return 0.0;
    }

    public void print() {
        super.print();
        System.out.println("radius=" + getRadius());
    }
}

class Ccylinder extends Ccircle {
    protected double height;

    public Ccylinder(double x, double y, double radius, double height) {
        super(x, y, radius);
        this.height = height;
    }

    public Ccylinder(Ccylinder cylinder) {
        super(cylinder);
        this.height = cylinder.height;
    }

    public double getHeight() {
        return height;
    }

    public double getVolume() {
        return getArea() * height;
    }

    public void print() {
        super.print();
        System.out.println("height=" + getHeight());
        System.out.println("volume=" + getVolume());
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double x = scanner.nextDouble();
        double y = scanner.nextDouble();
        double radius = scanner.nextDouble();
        double height = scanner.nextDouble();

        Ccylinder cylinder = new Ccylinder(x, y, radius, height);
        cylinder.print();
    }
}